﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true" CodeBehind="article.aspx.cs" Inherits="Web.admin.article" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="content">
<%--  <div id="content-header">
    <div id="breadcrumb"> <a href="#" class="tip-bottom" data-original-title="Go to Home"><i class="icon-home"></i> Home</a> <a href="#" class="current">Tables</a> </div>
    <h1>Tables</h1>
  </div>--%>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">




        <div class="widget-box">
          <div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
            <h5>小说列表</h5>
          </div>
          <div class="widget-content nopadding">
            <table class="table table-bordered table-striped">
              <thead>
                <tr>
                  <th>ID</th>
                  <th>分类</th>
                  <th>小说名称</th>
                  <th>作者</th>
                  <th>总共大小</th>
                  <th>创建时间</th>
                  <th>管理</th>
                </tr>
              </thead>
              <tbody>
                  <asp:Repeater ID="repRecordList" runat="server">
                      <ItemTemplate>
                          <tr>
                              <td> 
                                  
                                  <input id="ids" name="ids" type="checkbox" value='<%#DataBinder.Eval(Container.DataItem,"id")%>' /></td>
                              <td><a href="?typeid=<%#DataBinder.Eval(Container.DataItem, "tid") %>"><%#GetTypeName(DataBinder.Eval(Container.DataItem, "tid").ToString())%></a></td>
                              <td><a href="chapter.aspx?id=<%#DataBinder.Eval(Container.DataItem, "id") %>"><%#DataBinder.Eval(Container.DataItem, "title")%></a></td>
                              <td><%#DataBinder.Eval(Container.DataItem, "author")%></td>
                              <td><%#GetSizeMB(DataBinder.Eval(Container.DataItem, "size").ToString())%>MB</td>
                              <td><%#DataBinder.Eval(Container.DataItem, "created")%></td>
                              <td><%#DataBinder.Eval(Container.DataItem, "created")%></td>
                          </tr>
                      </ItemTemplate>
                  </asp:Repeater>
              </tbody>
            </table>


          </div>
        </div>
          <div class="console"><input id="allcheck" type="button" value="全选" class="btnmini" onclick="alls('ids', 'allcheck');" />
              
              <asp:DropDownList ID="TopicList" runat="server">
              </asp:DropDownList>
              
              <input id="AddTopic" type="button" value="添加专题" class="btnmini" onclick="do_book('topic');" />
          </div>
            <div id="pagelist" class="pages" style="text-align: center;" runat="server"></div>



      </div>
    </div>
  </div>
</div>
</asp:Content>
